/**
* Copyright (C) 2008 Google Enterprise EMEA
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/

package gsaportlet;

public class GSABean 
{
  private String q;
  private String btnG;//=Google+Search&
  private String access;//=p&
  private String entqr;//=0&
  private String ud;//=1&
  private String sort;//=date%3AD%3AL%3Ad1&
  private String output;//=xml_no_dtd&
  private String oe;//=UTF-8&
  private String ie;//=UTF-8&
  private String client;//=default_frontend&
  private String proxystylesheet;//=default_frontend&
  private String site;//=default_collection

  public GSABean()
  {
  }

  public String getQ()
  {
    return q;
  }

  public void setQ(String searchcommand)
  {
    this.q = searchcommand;
  }

  boolean validate()
  {
    return true;
  }

  public String getAccess()
  {
    return access;
  }

  public void setAccess(String access)
  {
    this.access = access;
  }

  public String getBtnG()
  {
    return btnG;
  }

  public void setBtnG(String btnG)
  {
    this.btnG = btnG;
  }

  public String getClient()
  {
    return client;
  }

  public void setClient(String client)
  {
    this.client = client;
  }

  public String getEntqr()
  {
    return entqr;
  }

  public void setEntqr(String entqr)
  {
    this.entqr = entqr;
  }

  public String getIe()
  {
    return ie;
  }

  public void setIe(String ie)
  {
    this.ie = ie;
  }

  public String getOe()
  {
    return oe;
  }

  public void setOe(String oe)
  {
    this.oe = oe;
  }

  public String getOutput()
  {
    return output;
  }

  public void setOutput(String output)
  {
    this.output = output;
  }

  public String getProxystylesheet()
  {
    return proxystylesheet;
  }

  public void setProxystylesheet(String proxystylesheet)
  {
    this.proxystylesheet = proxystylesheet;
  }

  public String getSite()
  {
    return site;
  }

  public void setSite(String site)
  {
    this.site = site;
  }

  public String getSort()
  {
    return sort;
  }

  public void setSort(String sort)
  {
    this.sort = sort;
  }

  public String getUd()
  {
    return ud;
  }

  public void setUd(String ud)
  {
    this.ud = ud;
  }
}